Repository navigation
discord-supporter: Add README.md for setting up the bot - #653
Merged
Merged
Conversation
The bot setup wasn't documented anywhere. `SKILL.md` only says that the scripts need `DISCORD_TOKEN`. Add `README.md` for humans who set up the bot: creating the application, enabling Message Content Intent, the permissions to invite the bot with, setting `DISCORD_TOKEN`, the environment variables, and how to check the setup. `SKILL.md` doesn't link to it because Claude Code can't set up the bot by itself. Also point to `README.md` in the error message when `DISCORD_TOKEN` is not set, so that it can be found when the token is missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Preview: https://kou.github.io/openarm See https://github.com/enactic/openarm/blob/main/website/README.md#pull-request-and-preview how to configure preview on fork. |
Copilot stopped reviewing on behalf of
kou due to an error
November 9, 2026 05:37
Contributor
There was a problem hiding this comment.
Note
Copilot was unable to run its full agentic suite in this review.
Copilot review overview
2 open issues
What changed in this PR
Improves setup ergonomics for the Discord supporter skill by adding human-focused setup documentation and making token misconfiguration errors point directly to it.
Changes:
- Added a new
.claude/skills/discord-supporter/README.mdwith bot setup and troubleshooting instructions. - Updated the
DISCORD_TOKENmissing error to reference the new README for faster remediation.
| File | Description |
|---|---|
| .claude/skills/discord-supporter/scripts/discord_api.py | Enhances the missing-token exit message to direct users to the setup README. |
| .claude/skills/discord-supporter/README.md | Adds end-to-end bot setup, env var reference, and verification steps. |
Review effort: Lite
Comment on lines
+42
to
+46
| | Variable | Description | Default | | ||
| |---|---|---| | ||
| | `DISCORD_TOKEN` | Bot token | (required) | | ||
| | `DISCORD_GUILD_ID` | Server ID | `1339899404546740275` (OpenArm) | | ||
| | `DISCORD_SUPPORTER_STATE` | Path of the state file | `state.json` in this directory | |
Comment on lines
+39
to
+40
| "DISCORD_TOKEN is not set " | ||
| "(see .claude/skills/discord-supporter/README.md)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


The bot setup wasn't documented anywhere.
SKILL.mdonly says that the scripts needDISCORD_TOKEN.Add
README.mdfor humans who set up the bot: creating the application, enabling Message Content Intent, the permissions to invite the bot with, settingDISCORD_TOKEN, the environment variables, and how to check the setup.SKILL.mddoesn't link to it because Claude Code can't set up the bot by itself.Also point to
README.mdin the error message whenDISCORD_TOKENis not set, so that it can be found when the token is missing.